﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp12
{
    class Lei
    {
        public string name;
        public int age;
        public string major;

        public string Name { get; set; }
        public int Age { get; set; }
        public string Major { get; set; }
        public void personal()
        {
            Console.WriteLine("Hello,我是{0}，我今年{1}岁了，我所学习的专业是{2}", name, age, major);
        }

    }
}
